<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="../../../common/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>角色设置</title>
		<jsp:include page="../../../common/head.jsp"></jsp:include>
		<script>
			//页面元素验证
			function checkform()
			{
				var objarr = new Array(
				["operationRole.roleName","角色名称","notEmpty",""]
				);
				
				if(xj.CheckAll(objarr))
				{
					if(confirm("确认保存？"))
						return true;
					else
						return false;
				}
				else
					return false;
			}
			//返回
			function goback()
			{
				window.location.href="listOperationRole.do";
			}
		</script>
	</head>
	<body>
		<form method="post" action="addOperationRole.do" onsubmit="return checkform()">
	<div id="body_div">
	<w:ShowTitle name="添加角色">
	<w:TitleButton funcName="保存" onClickFunction="" urlImg="${ctx}/images/main/save.png" funcType="submit"/>
	</w:ShowTitle>
	<div id="body_content">
			<table width="100%">
				<tr>
					<td width="180">角色名称</td>
					<td class="left_align"><input type="text" name="operationRole.roleName" maxlength="25" /></td>
				</tr>
				<tr>
					<td>角色类型</td>
					<td class="left_align"><input type="text" name="operationRole.roleType" maxlength="25" /></td>
				</tr>
				<tr>
					<td>角色代码</td>
					<td class="left_align"><input type="text" name="operationRole.roleCode" maxlength="25" /></td>
				</tr>
				<tr>
					<td>角色标识</td>
					<td class="left_align"><input type="text" name="operationRole.roleSign" maxlength="5" /></td>
				</tr>
				<tr>
					<td>角色说明</td>
					<td class="left_align"><input type="text" name="operationRole.roleDescription" maxlength="100" /></td>
				</tr>
			</table>
	</div>
	</div>
		</form>
	</body>
</html>
